# config_name
CONFIG_NAME = "develop"
# 任务的数量
TASK_QUEUE_SIZE = 10000
TASK_THREAD_NUMS = 10

# 任务类型
# 资产扫描
JOB_TYPE_ASSET = 1

# 任务状态
JOB_STATUS_READY = 0
JOB_STATUS_START = 1
JOB_STATUS_END = 2
JOB_STATUS_FAILED = 3
JOB_STATUS_PAUSE = 4

# ip 状态
IP_STATE_UP = 1
IP_STATE_DOWN = 0


ASSET_JOB_COMPLETE_EXPLORE_IPS_WEIGHT = 25
ASSET_JOB_COMPLETE_EXPLORE_SERVICE_WEIGHT = 60
ASSET_JOB_COMPLETE_WRITE_RESULT_TO_TABLE_WEIGHT = 5
ASSET_JOB_COMPLETE_WRITE_RESULT_TO_KAFKA_WEIGHT = 5
ASSET_JOB_COMPLETE_WRITE_JOB_TO_TABLE_WEIGHT = 5


# 操作系统探测与服务探测的总和
ASSET_JOB_COMPLETE_EXPLORE_ASSET_WEIGHT = 85


# 任务删除
JOB_DELETED = 1
JOB_NOT_DELETED = 0



